package com.example.entity.vo;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author ZHAO Yudong
 * @Date 2020/11/17 14:08
 * @description：
 */
@NoArgsConstructor
@Data
public class ReportDataDTO2 {
    /**
     * data : {"farmName":"上****专业合作社","registeredAddr":"上海市市**********************","registrationTime":"2013-11-21 00:00:00","city":"市辖区","farmType":1,"reportDate":1605592429595,"province":"上海市","industryType":"种植,农业生产服务","farmLevel":1,"registeredCapital":"100","contact":"189****2222","district":"崇明区","farmer":"施*","idNum":"3102301972****3975","reportNo":"160559242959510288170"}
     * success : true
     * message : getFarmInfo finished!
     */

    private DataDTO data;
    private Boolean success;
    private String message;

    @NoArgsConstructor
    @Data
    public static class DataDTO {
        /**
         * farmName : 上****专业合作社
         * registeredAddr : 上海市市**********************
         * registrationTime : 2013-11-21 00:00:00
         * city : 市辖区
         * farmType : 1
         * reportDate : 1605592429595
         * province : 上海市
         * industryType : 种植,农业生产服务
         * farmLevel : 1
         * registeredCapital : 100
         * contact : 189****2222
         * district : 崇明区
         * farmer : 施*
         * idNum : 3102301972****3975
         * reportNo : 160559242959510288170
         */

        private String farmName;
        private String registeredAddr;
        private String registrationTime;
        private String city;
        private Integer farmType;
        private Long reportDate;
        private String province;
        private String industryType;
        private Integer farmLevel;
        private String registeredCapital;
        private String contact;
        private String district;
        private String farmer;
        private String idNum;
        private String reportNo;
    }
}
